﻿using SqlSugar;
using System;
using System.Collections.Generic;

namespace Configuration.ServerApi.Entity
{
    /// <summary>
    /// 组态流程-组件配置信息表
    /// </summary>
    [SugarTable("bis_flow_assembly_classify")]
    public class bis_flow_assembly_classify
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 分类名称 (中文)
        /// </summary>
        public string CnName { get; set; }

        /// <summary>
        /// 分类名称 (英文)
        /// </summary>
        public string EnName { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int? Sort { get; set; } = 0;

        /// <summary>
        /// 状态  0: 正常 1: 禁用
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 所属组织编号
        /// </summary>
        public string OrgGuid { get; set; }

        /// <summary>
        /// 所属组织名称
        /// </summary>
        public string OrgName { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新人ID
        /// </summary>
        public string UpdateUser { get; set; }

        /// <summary>
        /// 最后更新人姓名
        /// </summary>
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除  0: 未删除 1: 已删除
        /// </summary>
        public int? Del_Flag { get; set; } = 0;

        /// <summary>
        /// 关联组件List
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<bis_flow_assembly_config> AssemblyList { get; set; } = new List<bis_flow_assembly_config>();

    }
}
